package de.servicezombie.tcmdb.rest.vo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import de.servicezombie.pub.r1.XmlNamespaces;

/**
 * <p>A person who defines or executes a testcase.</p>
 * <b>Example:</b>
 * <pre>
 * author {
 *   name: "ChKa",
 *   email: "anyone@inter.net"
 * }
 * </pre>
 * @author ChKa
 */
@XmlRootElement(name = "author", namespace = XmlNamespaces.SERVICEZOMBIE_COMMON)
@XmlAccessorType(XmlAccessType.FIELD)
public class WsAuthor extends AbstractWsDomainObjectWithId<WsAuthor> {

	/**
	 * name a persons likes to be called. 
	 * @unique 
	 */
	@XmlElement(namespace = XmlNamespaces.SERVICEZOMBIE_COMMON)
	private String name;
	
	@XmlElement(namespace = XmlNamespaces.SERVICEZOMBIE_COMMON)
	private String email;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
}
